#include "FileDetails.h"

namespace GPUCC
{
	const unsigned int FileDetails::MAX_FILE_SIZE = ~0;

	FileDetails::FileDetails(const std::string& Path, const unsigned int Size) : m_Path(Path), m_Size(Size)
	{
	}

	FileDetails::FileDetails(const std::string& Path, const LARGE_INTEGER& Size) : m_Path(Path), m_Size(Size.LowPart)
	{
		if (Size.HighPart > 0)
		{
			this->m_Size = FileDetails::MAX_FILE_SIZE;
		}
	}

	FileDetails::~FileDetails()
	{
	}

	const std::string& FileDetails::GetPath()
	{
		return (this->m_Path);
	}

	unsigned int FileDetails::GetSize()
	{
		return (this->m_Size);
	}
}